package com.itheima.domain;

import java.util.Date;

/**
 * @author shkstart
 * @create 2020-08-01 15:29
 */
public class Order {

    private int id;
    private Date ordertime;
    private double total;
    //该订单属于某一个用户的
    private  User user;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(Date ordertime) {
        this.ordertime = ordertime;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
